<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <meta name="description" content="spritewidget library API docs, for the Dart programming language.">
  <title>spritewidget library - Dart API</title>
  <!-- required because all the links are pseudo-absolute -->
  <base href="..">

  <link href="https://fonts.googleapis.com/css?family=Source+Code+Pro:500,400i,400,300|Source+Sans+Pro:400,300,700" rel="stylesheet">
  <link rel="stylesheet" href="static-assets/github.css">
  <link rel="stylesheet" href="static-assets/styles.css">
  <link rel="icon" href="static-assets/favicon.png">

</head>

<body>

<div id="overlay-under-drawer"></div>

<header id="title">
  <button id="sidenav-left-toggle" type="button">&nbsp;</button>
  <ol class="breadcrumbs gt-separated dark hidden-xs">
    <li><a href="index.html">spritewidget</a></li>
    <li class="self-crumb">spritewidget library</li>
  </ol>
  <div class="self-name">spritewidget</div>
  <form class="search navbar-right" role="search">
    <input type="text" id="search-box" autocomplete="off" disabled class="form-control typeahead" placeholder="Loading search...">
  </form>
</header>

<main>

  <div class="col-xs-6 col-sm-3 col-md-2 sidebar sidebar-offcanvas-left">
    <h5><span class="package-name">spritewidget</span> <span class="package-kind">package</span></h5>
    <ol>
          <li class="section-title">Libraries</li>
          <li><a href="spritewidget/spritewidget-library.html">spritewidget</a></li>
          <li class="section-title">Dart</li>
          <li><a href="dart-async/dart-async-library.html">dart:async</a></li>
          <li><a href="dart-collection/dart-collection-library.html">dart:collection</a></li>
          <li><a href="dart-convert/dart-convert-library.html">dart:convert</a></li>
          <li><a href="dart-core/dart-core-library.html">dart:core</a></li>
          <li><a href="dart-developer/dart-developer-library.html">dart:developer</a></li>
          <li><a href="dart-math/dart-math-library.html">dart:math</a></li>
          <li><a href="dart-typed_data/dart-typed_data-library.html">dart:typed_data</a></li>
          <li><a href="dart-ui/dart-ui-library.html">dart:ui</a></li>
          <li class="section-subtitle">VM</li>
            <li class="section-subitem"><a href="dart-io/dart-io-library.html">dart:io</a></li>
            <li class="section-subitem"><a href="dart-isolate/dart-isolate-library.html">dart:isolate</a></li>
    </ol>
  </div>

  <div class="col-xs-12 col-sm-9 col-md-8 main-content">
    <h1>spritewidget library</h1>

    <section class="desc markdown">
      <p>A sprite toolkit built on top of Flutter.</p>
    </section>
    
    <section class="summary offset-anchor" id="classes">
      <h2>Classes</h2>

      <dl>
        <dt id="Action">
          <span class="name "><a href="spritewidget/Action-class.html">Action</a></span>
        </dt>
        <dd>
          Actions are used to animate properties of nodes or any other type of
objects. The actions are powered by an <a href="spritewidget/ActionController-class.html">ActionController</a>, typically
associated with a <a href="spritewidget/Node-class.html">Node</a>. The most commonly used action is the
<a href="spritewidget/ActionTween-class.html">ActionTween</a> which interpolates a property between two values over time. <a href="spritewidget/Action-class.html">[...]</a>
        </dd>
        <dt id="ActionCallFunction">
          <span class="name "><a href="spritewidget/ActionCallFunction-class.html">ActionCallFunction</a></span>
        </dt>
        <dd>
          An action that calls a custom function when it is fired.
        </dd>
        <dt id="ActionController">
          <span class="name "><a href="spritewidget/ActionController-class.html">ActionController</a></span>
        </dt>
        <dd>
          A class the controls the playback of actions. To play back an action it is
passed to the <a href="spritewidget/ActionController-class.html">ActionController</a>'s <a href="spritewidget/ActionController/run.html">run</a> method. The <a href="spritewidget/ActionController-class.html">ActionController</a>
itself is typically a property of a <a href="spritewidget/Node-class.html">Node</a> and powered by the <a href="spritewidget/SpriteBox-class.html">SpriteBox</a>.
        </dd>
        <dt id="ActionDelay">
          <span class="name "><a href="spritewidget/ActionDelay-class.html">ActionDelay</a></span>
        </dt>
        <dd>
          An action that doesn't perform any other task than taking time. This action
is typically used in a sequence to space out other events.
        </dd>
        <dt id="ActionGroup">
          <span class="name "><a href="spritewidget/ActionGroup-class.html">ActionGroup</a></span>
        </dt>
        <dd>
          An action that plays the supplied actions in parallell. The duration of the
<a href="spritewidget/ActionGroup-class.html">ActionGroup</a> will be the maximum of the durations of the actions used to
compose this action.
        </dd>
        <dt id="ActionInstant">
          <span class="name "><a href="spritewidget/ActionInstant-class.html">ActionInstant</a></span>
        </dt>
        <dd>
          An action that doesn't have a duration. If this class is overridden to
create custom instant actions, only the <a href="spritewidget/ActionInstant/fire.html">fire</a> method should be overriden.
        </dd>
        <dt id="ActionInterval">
          <span class="name "><a href="spritewidget/ActionInterval-class.html">ActionInterval</a></span>
        </dt>
        <dd>
          The abstract class for an action that changes properties over a time
interval, optionally using an easing curve.
        </dd>
        <dt id="ActionRemoveNode">
          <span class="name "><a href="spritewidget/ActionRemoveNode-class.html">ActionRemoveNode</a></span>
        </dt>
        <dd>
          An action that removes the supplied node from its parent when it's fired.
        </dd>
        <dt id="ActionRepeat">
          <span class="name "><a href="spritewidget/ActionRepeat-class.html">ActionRepeat</a></span>
        </dt>
        <dd>
          An action that repeats another action a fixed number of times.
        </dd>
        <dt id="ActionRepeatForever">
          <span class="name "><a href="spritewidget/ActionRepeatForever-class.html">ActionRepeatForever</a></span>
        </dt>
        <dd>
          An action that repeats an action an indefinite number of times.
        </dd>
        <dt id="ActionSequence">
          <span class="name "><a href="spritewidget/ActionSequence-class.html">ActionSequence</a></span>
        </dt>
        <dd>
          An action that plays a number of supplied actions in sequence. The duration
of the <a href="spritewidget/ActionSequence-class.html">ActionSequence</a> with be the sum of the durations of the actions
passed in to the constructor.
        </dd>
        <dt id="ActionSpline">
          <span class="name "><a href="spritewidget/ActionSpline-class.html">ActionSpline</a></span>
        </dt>
        <dd>
          The spline action is used to animate a point along a spline definied by
a set of points.
        </dd>
        <dt id="ActionTween">
          <span class="name "><a href="spritewidget/ActionTween-class.html">ActionTween</a><span class="signature">&lt;<wbr><span class="type-parameter">T</span>&gt;</span></span>
        </dt>
        <dd>
          An action that tweens a property between two values, optionally using an
animation curve. This is one of the most common building blocks when
creating actions. The tween class can be used to animate properties of the
type <a href="dart-math/Point-class.html">Point</a>, <a href="dart-ui/Size-class.html">Size</a>, <a href="dart-ui/Rect-class.html">Rect</a>, <a href="dart-core/double-class.html">double</a>, or <a href="dart-ui/Color-class.html">Color</a>.
        </dd>
        <dt id="ColorSequence">
          <span class="name "><a href="spritewidget/ColorSequence-class.html">ColorSequence</a></span>
        </dt>
        <dd>
          A sequence of colors representing a gradient or a color transition over
time. The sequence is represented by a list of <a href="spritewidget/ColorSequence/colors.html">colors</a> and a list of
<a href="spritewidget/ColorSequence/colorStops.html">colorStops</a>, the stops are normalized values (0.0 to 1.0) and ordered in
the list. Both lists have the same number of elements.
        </dd>
        <dt id="Constraint">
          <span class="name "><a href="spritewidget/Constraint-class.html">Constraint</a></span>
        </dt>
        <dd>
          A constraint limits or otherwise controls a <a href="spritewidget/Node-class.html">Node</a>'s properties, such as
position or rotation. Add a list of constraints by setting the <a href="spritewidget/Node-class.html">Node</a>'s
constraints property. <a href="spritewidget/Constraint-class.html">[...]</a>
        </dd>
        <dt id="ConstraintPositionToNode">
          <span class="name "><a href="spritewidget/ConstraintPositionToNode-class.html">ConstraintPositionToNode</a></span>
        </dt>
        <dd>
          A <a href="spritewidget/Constraint-class.html">Constraint</a> that constrains the position of a node to equal the position
of another node, optionally with dampening.
        </dd>
        <dt id="ConstraintRotationToMovement">
          <span class="name "><a href="spritewidget/ConstraintRotationToMovement-class.html">ConstraintRotationToMovement</a></span>
        </dt>
        <dd>
          A <a href="spritewidget/Constraint-class.html">Constraint</a> that aligns a nodes rotation to its movement.
        </dd>
        <dt id="ConstraintRotationToNode">
          <span class="name "><a href="spritewidget/ConstraintRotationToNode-class.html">ConstraintRotationToNode</a></span>
        </dt>
        <dd>
          A <a href="spritewidget/Constraint-class.html">Constraint</a> that rotates a node to point towards another node. The target
node is allowed to have a different parent, but they must be in the same
<a href="spritewidget/SpriteBox-class.html">SpriteBox</a>.
        </dd>
        <dt id="ConstraintRotationToNodeRotation">
          <span class="name "><a href="spritewidget/ConstraintRotationToNodeRotation-class.html">ConstraintRotationToNodeRotation</a></span>
        </dt>
        <dd>
          A <a href="spritewidget/Constraint-class.html">Constraint</a> that copies a node's rotation, optionally with <a href="spritewidget/ConstraintRotationToNodeRotation/dampening.html">dampening</a>.
        </dd>
        <dt id="EffectLine">
          <span class="name "><a href="spritewidget/EffectLine-class.html">EffectLine</a></span>
        </dt>
        <dd>
          The EffectLine class is using the <a href="spritewidget/TexturedLine-class.html">TexturedLine</a> class to draw animated
lines. These can be used to draw things such as smoke trails, electricity
effects, or other animated types of lines.
        </dd>
        <dt id="GameMath">
          <span class="name "><a href="spritewidget/GameMath-class.html">GameMath</a></span>
        </dt>
        <dd>
          Provides convenience methods for calculations often carried out in graphics.
Some of the methods are returning approximations.
        </dd>
        <dt id="ImageMap">
          <span class="name "><a href="spritewidget/ImageMap-class.html">ImageMap</a></span>
        </dt>
        <dd>
          The ImageMap is a helper class for loading and keeping references to
multiple images.
        </dd>
        <dt id="Label">
          <span class="name "><a href="spritewidget/Label-class.html">Label</a></span>
        </dt>
        <dd>
          Labels are used to display a string of text in a the node tree. To align
the label, the textAlign property of the <a href="dart-ui/TextStyle-class.html">TextStyle</a> can be set.
        </dd>
        <dt id="Layer">
          <span class="name "><a href="spritewidget/Layer-class.html">Layer</a></span>
        </dt>
        <dd>
          A <a href="spritewidget/Node-class.html">Node</a> that provides an intermediate rendering surface in the sprite
rendering tree. A <a href="spritewidget/Layer-class.html">Layer</a> can be used to change the opacity, color, or to
apply an effect to a set of nodes. All nodes that are children to the
<a href="spritewidget/Layer-class.html">Layer</a> will be rendered into the surface. If the area that is needed for
the children to be drawn is know, the <a href="spritewidget/Layer/layerRect.html">layerRect</a> property should be set as
this can enhance performance.
        </dd>
        <dt id="NineSliceSprite">
          <span class="name "><a href="spritewidget/NineSliceSprite-class.html">NineSliceSprite</a></span>
        </dt>
        <dd>
          A NineSliceSprite is similar to a <a href="spritewidget/Sprite-class.html">Sprite</a>, but it it can strech its
inner area to fit the size of the <a href="spritewidget/Node-class.html">Node</a>. This is ideal for fast drawing
of things like buttons.
        </dd>
        <dt id="Node">
          <span class="name "><a href="spritewidget/Node-class.html">Node</a></span>
        </dt>
        <dd>
          A base class for all objects that can be added to the sprite node tree and rendered to screen using <a href="spritewidget/SpriteBox-class.html">SpriteBox</a> and
<a href="spritewidget/SpriteWidget-class.html">SpriteWidget</a>. <a href="spritewidget/Node-class.html">[...]</a>
        </dd>
        <dt id="Node3D">
          <span class="name "><a href="spritewidget/Node3D-class.html">Node3D</a></span>
        </dt>
        <dd>
          An node that transforms its children using a 3D perspective projection. This
node type can be used to create 3D flips and other similar effects. <a href="spritewidget/Node3D-class.html">[...]</a>
        </dd>
        <dt id="NodeWithSize">
          <span class="name "><a href="spritewidget/NodeWithSize-class.html">NodeWithSize</a></span>
        </dt>
        <dd>
          The super class of any <a href="spritewidget/Node-class.html">Node</a> that has a size. <a href="spritewidget/NodeWithSize-class.html">[...]</a>
        </dd>
        <dt id="ParticleSystem">
          <span class="name "><a href="spritewidget/ParticleSystem-class.html">ParticleSystem</a></span>
        </dt>
        <dd>
          A particle system uses a large number of sprites to draw complex effects
such as explosions, smoke, rain, or fire. There are a number of properties
that can be set to control the look of the particle system. Most of the
properties have a base value and a variance, these values are used when
creating each individual particle. For instance, by setting the <a href="spritewidget/ParticleSystem/life.html">life</a> to
1.0 and the <a href="spritewidget/ParticleSystem/lifeVar.html">lifeVar</a> to 0.5, each particle will get a life time in the
range of 0.5 to 1.5. <a href="spritewidget/ParticleSystem-class.html">[...]</a>
        </dd>
        <dt id="Sprite">
          <span class="name "><a href="spritewidget/Sprite-class.html">Sprite</a></span>
        </dt>
        <dd>
          A Sprite is a <a href="spritewidget/Node-class.html">Node</a> that renders a bitmap image to the screen.
        </dd>
        <dt id="SpriteBox">
          <span class="name "><a href="spritewidget/SpriteBox-class.html">SpriteBox</a></span>
        </dt>
        <dd>
          A <code>RenderBox</code> that draws a sprite world represented by a <a href="spritewidget/Node-class.html">Node</a> tree.
        </dd>
        <dt id="SpriteBoxEvent">
          <span class="name "><a href="spritewidget/SpriteBoxEvent-class.html">SpriteBoxEvent</a></span>
        </dt>
        <dd>
          An event that is passed down the node tree when pointer events occur. The SpriteBoxEvent is typically handled in
the handleEvent method of <a href="spritewidget/Node-class.html">Node</a>.
        </dd>
        <dt id="SpritePaint">
          <span class="name "><a href="spritewidget/SpritePaint-class.html">SpritePaint</a></span>
        </dt>
        <dd>
          Defines properties, such as <a href="spritewidget/SpritePaint/opacity.html">opacity</a> and <a href="spritewidget/SpritePaint/transferMode.html">transferMode</a> that are shared
between <a href="spritewidget/Node-class.html">Node</a>s that render textures to screen.
        </dd>
        <dt id="SpriteSheet">
          <span class="name "><a href="spritewidget/SpriteSheet-class.html">SpriteSheet</a></span>
        </dt>
        <dd>
          A sprite sheet packs a number of smaller images into a single large image. <a href="spritewidget/SpriteSheet-class.html">[...]</a>
        </dd>
        <dt id="SpriteTexture">
          <span class="name "><a href="spritewidget/SpriteTexture-class.html">SpriteTexture</a></span>
        </dt>
        <dd>
          A texture represents a rectangular area of an image and is typically used to draw a sprite to the screen. <a href="spritewidget/SpriteTexture-class.html">[...]</a>
        </dd>
        <dt id="SpriteWidget">
          <span class="name "><a href="spritewidget/SpriteWidget-class.html">SpriteWidget</a></span>
        </dt>
        <dd>
          A widget that uses a <a href="spritewidget/SpriteBox-class.html">SpriteBox</a> to render a sprite node tree to the screen.
        </dd>
        <dt id="TexturedLine">
          <span class="name "><a href="spritewidget/TexturedLine-class.html">TexturedLine</a></span>
        </dt>
        <dd>
          A <a href="spritewidget/Node-class.html">Node</a> that draws a polyline from a list of points using the provided
<a href="spritewidget/SpriteTexture-class.html">SpriteTexture</a>. The textured line draws static lines. If you want to create an
animated line, consider using the <a href="spritewidget/EffectLine-class.html">EffectLine</a> instead.
        </dd>
        <dt id="TexturedLinePainter">
          <span class="name "><a href="spritewidget/TexturedLinePainter-class.html">TexturedLinePainter</a></span>
        </dt>
        <dd>
          Draws a polyline to a <a href="dart-ui/Canvas-class.html">Canvas</a> from a list of points using the provided <a href="spritewidget/SpriteTexture-class.html">SpriteTexture</a>.
        </dd>
        <dt id="VirtualJoystick">
          <span class="name "><a href="spritewidget/VirtualJoystick-class.html">VirtualJoystick</a></span>
        </dt>
        <dd>
          Provides a virtual joystick that can easily be added to your sprite scene.
        </dd>
      </dl>
    </section>



    <section class="summary offset-anchor" id="functions">
      <h2>Functions</h2>

      <dl class="callables">
        <dt id="convertDegrees2Radians" class="callable">
          <span class="name"><a href="spritewidget/convertDegrees2Radians.html">convertDegrees2Radians</a></span><span class="signature">(<wbr><span class="parameter" id="convertDegrees2Radians-param-degrees"><span class="type-annotation"><a href="dart-core/double-class.html">double</a></span> <span class="parameter-name">degrees</span></span>)
            <span class="returntype parameter">&#8594; <a href="dart-core/double-class.html">double</a></span>
          </span>
        </dt>
        <dd>
          Converts degrees to radians.
          
</dd>
        <dt id="convertRadians2Degrees" class="callable">
          <span class="name"><a href="spritewidget/convertRadians2Degrees.html">convertRadians2Degrees</a></span><span class="signature">(<wbr><span class="parameter" id="convertRadians2Degrees-param-radians"><span class="type-annotation"><a href="dart-core/double-class.html">double</a></span> <span class="parameter-name">radians</span></span>)
            <span class="returntype parameter">&#8594; <a href="dart-core/double-class.html">double</a></span>
          </span>
        </dt>
        <dd>
          Converts radians to degrees.
          
</dd>
        <dt id="deserializeBlendMode" class="callable">
          <span class="name"><a href="spritewidget/deserializeBlendMode.html">deserializeBlendMode</a></span><span class="signature">(<wbr><span class="parameter" id="deserializeBlendMode-param-data"><span class="type-annotation"><a href="dart-core/int-class.html">int</a></span> <span class="parameter-name">data</span></span>)
            <span class="returntype parameter">&#8594; <a href="dart-ui/BlendMode-class.html">BlendMode</a></span>
          </span>
        </dt>
        <dd>
          
          
</dd>
        <dt id="deserializeColor" class="callable">
          <span class="name"><a href="spritewidget/deserializeColor.html">deserializeColor</a></span><span class="signature">(<wbr><span class="parameter" id="deserializeColor-param-data"><span class="type-annotation"><a href="dart-core/int-class.html">int</a></span> <span class="parameter-name">data</span></span>)
            <span class="returntype parameter">&#8594; <a href="dart-ui/Color-class.html">Color</a></span>
          </span>
        </dt>
        <dd>
          
          
</dd>
        <dt id="deserializeColorSequence" class="callable">
          <span class="name"><a href="spritewidget/deserializeColorSequence.html">deserializeColorSequence</a></span><span class="signature">(<wbr><span class="parameter" id="deserializeColorSequence-param-data"><span class="type-annotation"><a href="dart-core/Map-class.html">Map</a></span> <span class="parameter-name">data</span></span>)
            <span class="returntype parameter">&#8594; <a href="spritewidget/ColorSequence-class.html">ColorSequence</a></span>
          </span>
        </dt>
        <dd>
          
          
</dd>
        <dt id="deserializeOffset" class="callable">
          <span class="name"><a href="spritewidget/deserializeOffset.html">deserializeOffset</a></span><span class="signature">(<wbr><span class="parameter" id="deserializeOffset-param-data"><span class="type-annotation"><a href="dart-core/List-class.html">List</a><span class="signature">&lt;<wbr><span class="type-parameter"><a href="dart-core/double-class.html">double</a></span>&gt;</span></span> <span class="parameter-name">data</span></span>)
            <span class="returntype parameter">&#8594; <a href="dart-ui/Offset-class.html">Offset</a></span>
          </span>
        </dt>
        <dd>
          
          
</dd>
        <dt id="deserializeParticleSystem" class="callable">
          <span class="name"><a href="spritewidget/deserializeParticleSystem.html">deserializeParticleSystem</a></span><span class="signature">(<wbr><span class="parameter" id="deserializeParticleSystem-param-data"><span class="type-annotation"><a href="dart-core/Map-class.html">Map</a></span> <span class="parameter-name">data</span>, {</span> <span class="parameter" id="deserializeParticleSystem-param-particleSystem"><span class="type-annotation"><a href="spritewidget/ParticleSystem-class.html">ParticleSystem</a></span> <span class="parameter-name">particleSystem</span>, </span> <span class="parameter" id="deserializeParticleSystem-param-texture"><span class="type-annotation"><a href="spritewidget/SpriteTexture-class.html">SpriteTexture</a></span> <span class="parameter-name">texture</span></span> })
            <span class="returntype parameter">&#8594; <a href="spritewidget/ParticleSystem-class.html">ParticleSystem</a></span>
          </span>
        </dt>
        <dd>
          
          
</dd>
        <dt id="randomBool" class="callable">
          <span class="name"><a href="spritewidget/randomBool.html">randomBool</a></span><span class="signature">(<wbr>)
            <span class="returntype parameter">&#8594; <a href="dart-core/bool-class.html">bool</a></span>
          </span>
        </dt>
        <dd>
          Returns either <code>true</code> or <code>false</code> in a most random fashion.
          
</dd>
        <dt id="randomDouble" class="callable">
          <span class="name"><a href="spritewidget/randomDouble.html">randomDouble</a></span><span class="signature">(<wbr>)
            <span class="returntype parameter">&#8594; <a href="dart-core/double-class.html">double</a></span>
          </span>
        </dt>
        <dd>
          Returns a random <a href="dart-core/double-class.html">double</a> in the range of 0.0 to 1.0.
          
</dd>
        <dt id="randomInt" class="callable">
          <span class="name"><a href="spritewidget/randomInt.html">randomInt</a></span><span class="signature">(<wbr><span class="parameter" id="randomInt-param-max"><span class="type-annotation"><a href="dart-core/int-class.html">int</a></span> <span class="parameter-name">max</span></span>)
            <span class="returntype parameter">&#8594; <a href="dart-core/int-class.html">int</a></span>
          </span>
        </dt>
        <dd>
          Returns a random <a href="dart-core/int-class.html">int</a> from 0 to max - 1.
          
</dd>
        <dt id="randomSignedDouble" class="callable">
          <span class="name"><a href="spritewidget/randomSignedDouble.html">randomSignedDouble</a></span><span class="signature">(<wbr>)
            <span class="returntype parameter">&#8594; <a href="dart-core/double-class.html">double</a></span>
          </span>
        </dt>
        <dd>
          Returns a random <a href="dart-core/double-class.html">double</a> in the range of -1.0 to 1.0.
          
</dd>
        <dt id="serializeBlendMode" class="callable">
          <span class="name"><a href="spritewidget/serializeBlendMode.html">serializeBlendMode</a></span><span class="signature">(<wbr><span class="parameter" id="serializeBlendMode-param-blendMode"><span class="type-annotation"><a href="dart-ui/BlendMode-class.html">BlendMode</a></span> <span class="parameter-name">blendMode</span></span>)
            <span class="returntype parameter">&#8594; <a href="dart-core/int-class.html">int</a></span>
          </span>
        </dt>
        <dd>
          
          
</dd>
        <dt id="serializeColor" class="callable">
          <span class="name"><a href="spritewidget/serializeColor.html">serializeColor</a></span><span class="signature">(<wbr><span class="parameter" id="serializeColor-param-color"><span class="type-annotation"><a href="dart-ui/Color-class.html">Color</a></span> <span class="parameter-name">color</span></span>)
            <span class="returntype parameter">&#8594; <a href="dart-core/int-class.html">int</a></span>
          </span>
        </dt>
        <dd>
          
          
</dd>
        <dt id="serializeColorSequence" class="callable">
          <span class="name"><a href="spritewidget/serializeColorSequence.html">serializeColorSequence</a></span><span class="signature">(<wbr><span class="parameter" id="serializeColorSequence-param-colorSequence"><span class="type-annotation"><a href="spritewidget/ColorSequence-class.html">ColorSequence</a></span> <span class="parameter-name">colorSequence</span></span>)
            <span class="returntype parameter">&#8594; <a href="dart-core/Map-class.html">Map</a></span>
          </span>
        </dt>
        <dd>
          
          
</dd>
        <dt id="serializeOffset" class="callable">
          <span class="name"><a href="spritewidget/serializeOffset.html">serializeOffset</a></span><span class="signature">(<wbr><span class="parameter" id="serializeOffset-param-offset"><span class="type-annotation"><a href="dart-ui/Offset-class.html">Offset</a></span> <span class="parameter-name">offset</span></span>)
            <span class="returntype parameter">&#8594; <a href="dart-core/List-class.html">List</a><span class="signature">&lt;<wbr><span class="type-parameter"><a href="dart-core/double-class.html">double</a></span>&gt;</span></span>
          </span>
        </dt>
        <dd>
          
          
</dd>
        <dt id="serializeParticleSystem" class="callable">
          <span class="name"><a href="spritewidget/serializeParticleSystem.html">serializeParticleSystem</a></span><span class="signature">(<wbr><span class="parameter" id="serializeParticleSystem-param-system"><span class="type-annotation"><a href="spritewidget/ParticleSystem-class.html">ParticleSystem</a></span> <span class="parameter-name">system</span></span>)
            <span class="returntype parameter">&#8594; <a href="dart-core/Map-class.html">Map</a></span>
          </span>
        </dt>
        <dd>
          
          
</dd>
      </dl>
    </section>

    <section class="summary offset-anchor" id="enums">
      <h2>Enums</h2>

      <dl>
        <dt id="EffectLineAnimationMode">
          <a href="spritewidget/EffectLineAnimationMode-class.html">EffectLineAnimationMode</a>
        </dt>
        <dd>
          Used by <a href="spritewidget/EffectLine-class.html">EffectLine</a> to determine how the texture of the line is animated.
        </dd>
        <dt id="EffectLineWidthMode">
          <a href="spritewidget/EffectLineWidthMode-class.html">EffectLineWidthMode</a>
        </dt>
        <dd>
          Used by <a href="spritewidget/EffectLine-class.html">EffectLine</a> to determine how the width of the line is calculated.
        </dd>
        <dt id="SpriteBoxTransformMode">
          <a href="spritewidget/SpriteBoxTransformMode-class.html">SpriteBoxTransformMode</a>
        </dt>
        <dd>
          Options for setting up a <a href="spritewidget/SpriteBox-class.html">SpriteBox</a>'s coordinate system.
        </dd>
      </dl>
    </section>

    <section class="summary offset-anchor" id="typedefs">
      <h2>Typedefs</h2>

      <dl class="callables">
        <dt id="ActionCallback" class="callable">
          <span class="name"><a href="spritewidget/ActionCallback.html">ActionCallback</a></span><span class="signature">(<wbr>)
            <span class="returntype parameter">&#8594; void</span>
          </span>
        </dt>
        <dd>
          Signature for callbacks used by the <code>ActionCallFunction</code>.
          
</dd>
        <dt id="PointSetterCallback" class="callable">
          <span class="name"><a href="spritewidget/PointSetterCallback.html">PointSetterCallback</a></span><span class="signature">(<wbr><span class="parameter" id="PointSetterCallback-param-value"><span class="type-annotation"><a href="dart-ui/Offset-class.html">Offset</a></span> <span class="parameter-name">value</span></span>)
            <span class="returntype parameter">&#8594; void</span>
          </span>
        </dt>
        <dd>
          Signature for callbacks used by the <code>ActionSpline</code> to set a <code>Point</code> value.
          
</dd>
        <dt id="SetterCallback" class="callable">
          <span class="name"><a href="spritewidget/SetterCallback.html">SetterCallback</a></span><span class="signature">(<wbr><span class="parameter" id="SetterCallback-param-value"><span class="type-annotation">dynamic</span> <span class="parameter-name">value</span></span>)
            <span class="returntype parameter">&#8594; void</span>
          </span>
        </dt>
        <dd>
          Signature for callbacks for setting properties, used by <code>ActionTween</code>.
          
</dd>
      </dl>
    </section>


  </div> <!-- /.main-content -->

  <div class="col-xs-6 col-sm-6 col-md-2 sidebar sidebar-offcanvas-right">
    <h5>spritewidget library</h5>
    <ol>
      <li class="section-title"><a href="spritewidget/spritewidget-library.html#classes">Classes</a></li>
      <li><a href="spritewidget/Action-class.html">Action</a></li>
      <li><a href="spritewidget/ActionCallFunction-class.html">ActionCallFunction</a></li>
      <li><a href="spritewidget/ActionController-class.html">ActionController</a></li>
      <li><a href="spritewidget/ActionDelay-class.html">ActionDelay</a></li>
      <li><a href="spritewidget/ActionGroup-class.html">ActionGroup</a></li>
      <li><a href="spritewidget/ActionInstant-class.html">ActionInstant</a></li>
      <li><a href="spritewidget/ActionInterval-class.html">ActionInterval</a></li>
      <li><a href="spritewidget/ActionRemoveNode-class.html">ActionRemoveNode</a></li>
      <li><a href="spritewidget/ActionRepeat-class.html">ActionRepeat</a></li>
      <li><a href="spritewidget/ActionRepeatForever-class.html">ActionRepeatForever</a></li>
      <li><a href="spritewidget/ActionSequence-class.html">ActionSequence</a></li>
      <li><a href="spritewidget/ActionSpline-class.html">ActionSpline</a></li>
      <li><a href="spritewidget/ActionTween-class.html">ActionTween</a></li>
      <li><a href="spritewidget/ColorSequence-class.html">ColorSequence</a></li>
      <li><a href="spritewidget/Constraint-class.html">Constraint</a></li>
      <li><a href="spritewidget/ConstraintPositionToNode-class.html">ConstraintPositionToNode</a></li>
      <li><a href="spritewidget/ConstraintRotationToMovement-class.html">ConstraintRotationToMovement</a></li>
      <li><a href="spritewidget/ConstraintRotationToNode-class.html">ConstraintRotationToNode</a></li>
      <li><a href="spritewidget/ConstraintRotationToNodeRotation-class.html">ConstraintRotationToNodeRotation</a></li>
      <li><a href="spritewidget/EffectLine-class.html">EffectLine</a></li>
      <li><a href="spritewidget/GameMath-class.html">GameMath</a></li>
      <li><a href="spritewidget/ImageMap-class.html">ImageMap</a></li>
      <li><a href="spritewidget/Label-class.html">Label</a></li>
      <li><a href="spritewidget/Layer-class.html">Layer</a></li>
      <li><a href="spritewidget/NineSliceSprite-class.html">NineSliceSprite</a></li>
      <li><a href="spritewidget/Node-class.html">Node</a></li>
      <li><a href="spritewidget/Node3D-class.html">Node3D</a></li>
      <li><a href="spritewidget/NodeWithSize-class.html">NodeWithSize</a></li>
      <li><a href="spritewidget/ParticleSystem-class.html">ParticleSystem</a></li>
      <li><a href="spritewidget/Sprite-class.html">Sprite</a></li>
      <li><a href="spritewidget/SpriteBox-class.html">SpriteBox</a></li>
      <li><a href="spritewidget/SpriteBoxEvent-class.html">SpriteBoxEvent</a></li>
      <li><a href="spritewidget/SpritePaint-class.html">SpritePaint</a></li>
      <li><a href="spritewidget/SpriteSheet-class.html">SpriteSheet</a></li>
      <li><a href="spritewidget/SpriteTexture-class.html">SpriteTexture</a></li>
      <li><a href="spritewidget/SpriteWidget-class.html">SpriteWidget</a></li>
      <li><a href="spritewidget/TexturedLine-class.html">TexturedLine</a></li>
      <li><a href="spritewidget/TexturedLinePainter-class.html">TexturedLinePainter</a></li>
      <li><a href="spritewidget/VirtualJoystick-class.html">VirtualJoystick</a></li>
    
    
    
      <li class="section-title"><a href="spritewidget/spritewidget-library.html#functions">Functions</a></li>
      <li><a href="spritewidget/convertDegrees2Radians.html">convertDegrees2Radians</a></li>
      <li><a href="spritewidget/convertRadians2Degrees.html">convertRadians2Degrees</a></li>
      <li><a href="spritewidget/deserializeBlendMode.html">deserializeBlendMode</a></li>
      <li><a href="spritewidget/deserializeColor.html">deserializeColor</a></li>
      <li><a href="spritewidget/deserializeColorSequence.html">deserializeColorSequence</a></li>
      <li><a href="spritewidget/deserializeOffset.html">deserializeOffset</a></li>
      <li><a href="spritewidget/deserializeParticleSystem.html">deserializeParticleSystem</a></li>
      <li><a href="spritewidget/randomBool.html">randomBool</a></li>
      <li><a href="spritewidget/randomDouble.html">randomDouble</a></li>
      <li><a href="spritewidget/randomInt.html">randomInt</a></li>
      <li><a href="spritewidget/randomSignedDouble.html">randomSignedDouble</a></li>
      <li><a href="spritewidget/serializeBlendMode.html">serializeBlendMode</a></li>
      <li><a href="spritewidget/serializeColor.html">serializeColor</a></li>
      <li><a href="spritewidget/serializeColorSequence.html">serializeColorSequence</a></li>
      <li><a href="spritewidget/serializeOffset.html">serializeOffset</a></li>
      <li><a href="spritewidget/serializeParticleSystem.html">serializeParticleSystem</a></li>
    
      <li class="section-title"><a href="spritewidget/spritewidget-library.html#enums">Enums</a></li>
      <li><a href="spritewidget/EffectLineAnimationMode-class.html">EffectLineAnimationMode</a></li>
      <li><a href="spritewidget/EffectLineWidthMode-class.html">EffectLineWidthMode</a></li>
      <li><a href="spritewidget/SpriteBoxTransformMode-class.html">SpriteBoxTransformMode</a></li>
    
      <li class="section-title"><a href="spritewidget/spritewidget-library.html#typedefs">Typedefs</a></li>
      <li><a href="spritewidget/ActionCallback.html">ActionCallback</a></li>
      <li><a href="spritewidget/PointSetterCallback.html">PointSetterCallback</a></li>
      <li><a href="spritewidget/SetterCallback.html">SetterCallback</a></li>
    
    </ol>
  </div><!--/sidebar-offcanvas-right-->

</main>

<footer>
  <span class="no-break">
    spritewidget 0.9.16
  </span>

</footer>

<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<script src="static-assets/typeahead.bundle.min.js"></script>
<script src="static-assets/highlight.pack.js"></script>
<script src="static-assets/URI.js"></script>
<script src="static-assets/script.js"></script>


</body>

</html>
